Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: infraction marshaling between sdk 45 and 47 #1089

Closed
wants to merge 2 commits into from

Conversation

shaspitz
Copy link
Contributor

Please go the the Preview tab and select the appropriate sub-template:

  • Production code - for types fix, feat, and refactor.
  • Docs - for documentation changes.
  • Others - for changes that do not affect production code.

@shaspitz shaspitz changed the title wip fix: infraction marshaling between sdk 45 and 47 Jun 27, 2023
@@ -101,5 +103,38 @@ func (cp ConsumerPacketData) ValidateBasic() (err error) {

func (cp ConsumerPacketData) GetBytes() []byte {
bytes := ModuleCdc.MustMarshalJSON(&cp)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shim only works when the provider is on 45, we could also add an appropriate shim on the provider on it's 47 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant